<template>
	<view>
		<uni-popup ref="updetail" mode="center">
			<view class="bgfff  ra20 width1400 pb50 text-left">
				<image @click="$refs.updetail.close()" mode="widthFix"
					class="image posiab zindex15 right30 top20 width50" src="/static/img/bi.png"></image>
				<view class="size36 color333 bold  zindex5 flex-a-i ml50 pt30">
					<view class="wh6-30 mt8 bg2C7BFF mr15"></view>会议详情
				</view>
				
				<view class="border-tebecef pt30 mt30">
					<view class="pg30">
						<view class="bgf4f8f9 mb50 ra15 pg30 posire">
							<view 
								class="posiab pg5-30 ra5 color666 size24 right30 top30 bge8e8e8">
									<view v-if="istime(meetinginfo.start_dtm)" >未开始</view>
									<view v-else class="colorF2A521">进行中</view>
								
							<!-- 	<template v-if="istime(meetinginfo.start_dtm)">
									<text class="colorF2A521">
									{{istime(meetinginfo.start_dtm)?'未开始':'进行中'}}</text>
								</template> -->
								
								<!-- <template v-if="meetinginfo.create_dtm">
									{{istime(meetinginfo.create_dtm)?'未开始':'进行中'}}
								</template> -->
		
							</view>
							
							<view class="flex-a-i border-bebecef pb30">
								<image mode="widthFix" class="image width108 mr20" src="/static/img/xaing.png"></image>
								<view class="">
									<view class="flex-a-i size32">
										{{meetinginfo.mr_name}}
										<view class="bgdee9fa size24 wh40-40 flex-ju-c ra40 ml15 color165FFF">我</view>
									</view>
									<view class="color666 size28 flex-a-i mt10">
										会议号：{{meetinginfo.cuid?meetinginfo.cuid:meetinginfo.mr_id}}
										<image mode="widthFix" class="image width32 ml15 mr50"
											src="/static/img/copy.png"></image>
										参会密码：{{meetinginfo.join_pwd}}
										<image mode="widthFix" class="image width40 ml50 mr10"
											src="/static/img/yonghu.png"></image>
										发起人：{{meetinginfo.launcher_usr_nick_name?meetinginfo.launcher_usr_nick_name:meetinginfo.launcher_usr_name}}
									</view>
								</view>
							</view>
							<view class="color666 size28">
								<view class="mt30">
									云会议室：{{meetinginfo.mr_name}}（{{meetinginfo.cuid?meetinginfo.cuid:meetinginfo.mr_id}}）
								</view>
								<view class="mt20">
		
									开始时间：
									{{meetinginfo.start_dtm?timeTamp(meetinginfo.start_dtm):timeTamp(meetinginfo.create_dtm)}}
									<text
										class="ml50">结束时间：{{meetinginfo.start_dtm?timeTamp((meetinginfo.start_dtm + meetinginfo.duration)):timeTamp((meetinginfo.create_dtm + meetinginfo.duration))}}</text>
								</view>
								<view class="mt20">
		
									会议时长：{{Math.floor(meetinginfo.duration / 3600)}}小时{{Math.floor((meetinginfo.duration % 3600) / 60)}}分
								</view>
								<view class="mt20">
									会议类型：
									{{meetinginfo.weekly_period==1111111?'永久会议':meetinginfo.weekly_period>0?'周期会议':'单次会议'}}
								</view>
							</view>
						</view>
						<view>参会人</view>
						<view class="borderE6EBF0 flex-a-i flex-wrap mt20 size28 mb50 color31373D">
							<view v-for="(item,index) in meetinginfo.invite_usr_nick_names"
								class="bge8efff flex-a-i mt5 mb5 ml10 pg10-15">
								<image mode="widthFix" class="image width50" src="/static/img/xaing.png"></image>
								{{item}}
							</view>
						</view>
		
						<view class="mb20">会议详情</view>
						<view class="posire">
							<view class="borderE6EBF0 ra20 pg20" style="min-height:160rpx;">
								{{meetinginfo.extra}}
							</view>
							<!-- <el-input class="mt30" v-model="meetinginfo.extra" maxlength="300" show-word-limit :rows="5" placeholder="请输入描述信息"
								type="textarea" /> -->
						</view>
					</view>
				</view>
			</view>
		</uni-popup>
	</view>
</template>

<script>
	export default {
		name:"meeting-detail",
		props:['meetinginfo'],
		data() {
			return {
				
			};
		},
		methods:{
			open(){
				this.$refs.updetail.open()
			},
			close(){
				this.$refs.updetail.close()
			}
			
		}
	}
</script>

<style>

</style>